﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace _16_01_2013
{
    class Program
    {
        static void Main(string[] args)
        {
            ParamExample Param_Exam = new ParamExample();
            //int[] arr = { 10, 200, 300,500,1000 };
            //int Total = Param_Exam.Adding_ArrayElement(11, 12, 13, 14, 25, 36, 57);
            //int Total = Param_Exam.Adding_ArrayElement(arr);
            //bool result = Param_Exam.SearchElement(2000,arr);
            //if (result == true)
            //{
            //    Console.WriteLine("Tim thay phan tu ");
            //}
            //else
            //{
            //    Console.WriteLine("Khong Tim thay phan tu ");
            ////}
            //string thongbao = (result == true) ? "Tim thay phan tu" : "Khong Tim thay phan tu ";
            //Console.WriteLine(thongbao);
            ////Console.WriteLine("The Result is {0}", Total);




            int[] arr = { 1000, 500, 400, 100, 10000 };
            
            Param_Exam.XuatMang(arr);
            Param_Exam.SortArray(arr);
            //100,400,500,1000,10000
            Console.WriteLine();
            Param_Exam.XuatMang(arr);


            Console.ReadLine();
        }
    }
}

